﻿using System;
using System.Runtime.InteropServices;
using System.Text;

namespace Valve.VR
{
	// Token: 0x020006D8 RID: 1752
	public struct IVRCompositor
	{
		// Token: 0x04002A30 RID: 10800
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._SetTrackingSpace SetTrackingSpace;

		// Token: 0x04002A31 RID: 10801
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetTrackingSpace GetTrackingSpace;

		// Token: 0x04002A32 RID: 10802
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._WaitGetPoses WaitGetPoses;

		// Token: 0x04002A33 RID: 10803
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetLastPoses GetLastPoses;

		// Token: 0x04002A34 RID: 10804
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetLastPoseForTrackedDeviceIndex GetLastPoseForTrackedDeviceIndex;

		// Token: 0x04002A35 RID: 10805
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._Submit Submit;

		// Token: 0x04002A36 RID: 10806
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ClearLastSubmittedFrame ClearLastSubmittedFrame;

		// Token: 0x04002A37 RID: 10807
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._PostPresentHandoff PostPresentHandoff;

		// Token: 0x04002A38 RID: 10808
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetFrameTiming GetFrameTiming;

		// Token: 0x04002A39 RID: 10809
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetFrameTimings GetFrameTimings;

		// Token: 0x04002A3A RID: 10810
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetFrameTimeRemaining GetFrameTimeRemaining;

		// Token: 0x04002A3B RID: 10811
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetCumulativeStats GetCumulativeStats;

		// Token: 0x04002A3C RID: 10812
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._FadeToColor FadeToColor;

		// Token: 0x04002A3D RID: 10813
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetCurrentFadeColor GetCurrentFadeColor;

		// Token: 0x04002A3E RID: 10814
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._FadeGrid FadeGrid;

		// Token: 0x04002A3F RID: 10815
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetCurrentGridAlpha GetCurrentGridAlpha;

		// Token: 0x04002A40 RID: 10816
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._SetSkyboxOverride SetSkyboxOverride;

		// Token: 0x04002A41 RID: 10817
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ClearSkyboxOverride ClearSkyboxOverride;

		// Token: 0x04002A42 RID: 10818
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._CompositorBringToFront CompositorBringToFront;

		// Token: 0x04002A43 RID: 10819
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._CompositorGoToBack CompositorGoToBack;

		// Token: 0x04002A44 RID: 10820
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._CompositorQuit CompositorQuit;

		// Token: 0x04002A45 RID: 10821
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._IsFullscreen IsFullscreen;

		// Token: 0x04002A46 RID: 10822
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetCurrentSceneFocusProcess GetCurrentSceneFocusProcess;

		// Token: 0x04002A47 RID: 10823
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetLastFrameRenderer GetLastFrameRenderer;

		// Token: 0x04002A48 RID: 10824
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._CanRenderScene CanRenderScene;

		// Token: 0x04002A49 RID: 10825
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ShowMirrorWindow ShowMirrorWindow;

		// Token: 0x04002A4A RID: 10826
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._HideMirrorWindow HideMirrorWindow;

		// Token: 0x04002A4B RID: 10827
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._IsMirrorWindowVisible IsMirrorWindowVisible;

		// Token: 0x04002A4C RID: 10828
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._CompositorDumpImages CompositorDumpImages;

		// Token: 0x04002A4D RID: 10829
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ShouldAppRenderWithLowResources ShouldAppRenderWithLowResources;

		// Token: 0x04002A4E RID: 10830
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ForceInterleavedReprojectionOn ForceInterleavedReprojectionOn;

		// Token: 0x04002A4F RID: 10831
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ForceReconnectProcess ForceReconnectProcess;

		// Token: 0x04002A50 RID: 10832
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._SuspendRendering SuspendRendering;

		// Token: 0x04002A51 RID: 10833
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetMirrorTextureD3D11 GetMirrorTextureD3D11;

		// Token: 0x04002A52 RID: 10834
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ReleaseMirrorTextureD3D11 ReleaseMirrorTextureD3D11;

		// Token: 0x04002A53 RID: 10835
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetMirrorTextureGL GetMirrorTextureGL;

		// Token: 0x04002A54 RID: 10836
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._ReleaseSharedGLTexture ReleaseSharedGLTexture;

		// Token: 0x04002A55 RID: 10837
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._LockGLSharedTextureForAccess LockGLSharedTextureForAccess;

		// Token: 0x04002A56 RID: 10838
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._UnlockGLSharedTextureForAccess UnlockGLSharedTextureForAccess;

		// Token: 0x04002A57 RID: 10839
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetVulkanInstanceExtensionsRequired GetVulkanInstanceExtensionsRequired;

		// Token: 0x04002A58 RID: 10840
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRCompositor._GetVulkanDeviceExtensionsRequired GetVulkanDeviceExtensionsRequired;

		// Token: 0x020006D9 RID: 1753
		// (Invoke) Token: 0x06002B4E RID: 11086
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _SetTrackingSpace(ETrackingUniverseOrigin eOrigin);

		// Token: 0x020006DA RID: 1754
		// (Invoke) Token: 0x06002B52 RID: 11090
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate ETrackingUniverseOrigin _GetTrackingSpace();

		// Token: 0x020006DB RID: 1755
		// (Invoke) Token: 0x06002B56 RID: 11094
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _WaitGetPoses([In] [Out] TrackedDevicePose_t[] pRenderPoseArray, uint unRenderPoseArrayCount, [In] [Out] TrackedDevicePose_t[] pGamePoseArray, uint unGamePoseArrayCount);

		// Token: 0x020006DC RID: 1756
		// (Invoke) Token: 0x06002B5A RID: 11098
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _GetLastPoses([In] [Out] TrackedDevicePose_t[] pRenderPoseArray, uint unRenderPoseArrayCount, [In] [Out] TrackedDevicePose_t[] pGamePoseArray, uint unGamePoseArrayCount);

		// Token: 0x020006DD RID: 1757
		// (Invoke) Token: 0x06002B5E RID: 11102
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _GetLastPoseForTrackedDeviceIndex(uint unDeviceIndex, ref TrackedDevicePose_t pOutputPose, ref TrackedDevicePose_t pOutputGamePose);

		// Token: 0x020006DE RID: 1758
		// (Invoke) Token: 0x06002B62 RID: 11106
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _Submit(EVREye eEye, ref Texture_t pTexture, ref VRTextureBounds_t pBounds, EVRSubmitFlags nSubmitFlags);

		// Token: 0x020006DF RID: 1759
		// (Invoke) Token: 0x06002B66 RID: 11110
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _ClearLastSubmittedFrame();

		// Token: 0x020006E0 RID: 1760
		// (Invoke) Token: 0x06002B6A RID: 11114
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _PostPresentHandoff();

		// Token: 0x020006E1 RID: 1761
		// (Invoke) Token: 0x06002B6E RID: 11118
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _GetFrameTiming(ref Compositor_FrameTiming pTiming, uint unFramesAgo);

		// Token: 0x020006E2 RID: 1762
		// (Invoke) Token: 0x06002B72 RID: 11122
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetFrameTimings(ref Compositor_FrameTiming pTiming, uint nFrames);

		// Token: 0x020006E3 RID: 1763
		// (Invoke) Token: 0x06002B76 RID: 11126
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate float _GetFrameTimeRemaining();

		// Token: 0x020006E4 RID: 1764
		// (Invoke) Token: 0x06002B7A RID: 11130
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _GetCumulativeStats(ref Compositor_CumulativeStats pStats, uint nStatsSizeInBytes);

		// Token: 0x020006E5 RID: 1765
		// (Invoke) Token: 0x06002B7E RID: 11134
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _FadeToColor(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground);

		// Token: 0x020006E6 RID: 1766
		// (Invoke) Token: 0x06002B82 RID: 11138
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate HmdColor_t _GetCurrentFadeColor(bool bBackground);

		// Token: 0x020006E7 RID: 1767
		// (Invoke) Token: 0x06002B86 RID: 11142
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _FadeGrid(float fSeconds, bool bFadeIn);

		// Token: 0x020006E8 RID: 1768
		// (Invoke) Token: 0x06002B8A RID: 11146
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate float _GetCurrentGridAlpha();

		// Token: 0x020006E9 RID: 1769
		// (Invoke) Token: 0x06002B8E RID: 11150
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _SetSkyboxOverride([In] [Out] Texture_t[] pTextures, uint unTextureCount);

		// Token: 0x020006EA RID: 1770
		// (Invoke) Token: 0x06002B92 RID: 11154
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _ClearSkyboxOverride();

		// Token: 0x020006EB RID: 1771
		// (Invoke) Token: 0x06002B96 RID: 11158
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _CompositorBringToFront();

		// Token: 0x020006EC RID: 1772
		// (Invoke) Token: 0x06002B9A RID: 11162
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _CompositorGoToBack();

		// Token: 0x020006ED RID: 1773
		// (Invoke) Token: 0x06002B9E RID: 11166
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _CompositorQuit();

		// Token: 0x020006EE RID: 1774
		// (Invoke) Token: 0x06002BA2 RID: 11170
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _IsFullscreen();

		// Token: 0x020006EF RID: 1775
		// (Invoke) Token: 0x06002BA6 RID: 11174
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetCurrentSceneFocusProcess();

		// Token: 0x020006F0 RID: 1776
		// (Invoke) Token: 0x06002BAA RID: 11178
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetLastFrameRenderer();

		// Token: 0x020006F1 RID: 1777
		// (Invoke) Token: 0x06002BAE RID: 11182
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _CanRenderScene();

		// Token: 0x020006F2 RID: 1778
		// (Invoke) Token: 0x06002BB2 RID: 11186
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _ShowMirrorWindow();

		// Token: 0x020006F3 RID: 1779
		// (Invoke) Token: 0x06002BB6 RID: 11190
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _HideMirrorWindow();

		// Token: 0x020006F4 RID: 1780
		// (Invoke) Token: 0x06002BBA RID: 11194
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _IsMirrorWindowVisible();

		// Token: 0x020006F5 RID: 1781
		// (Invoke) Token: 0x06002BBE RID: 11198
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _CompositorDumpImages();

		// Token: 0x020006F6 RID: 1782
		// (Invoke) Token: 0x06002BC2 RID: 11202
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _ShouldAppRenderWithLowResources();

		// Token: 0x020006F7 RID: 1783
		// (Invoke) Token: 0x06002BC6 RID: 11206
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _ForceInterleavedReprojectionOn(bool bOverride);

		// Token: 0x020006F8 RID: 1784
		// (Invoke) Token: 0x06002BCA RID: 11210
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _ForceReconnectProcess();

		// Token: 0x020006F9 RID: 1785
		// (Invoke) Token: 0x06002BCE RID: 11214
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _SuspendRendering(bool bSuspend);

		// Token: 0x020006FA RID: 1786
		// (Invoke) Token: 0x06002BD2 RID: 11218
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _GetMirrorTextureD3D11(EVREye eEye, IntPtr pD3D11DeviceOrResource, ref IntPtr ppD3D11ShaderResourceView);

		// Token: 0x020006FB RID: 1787
		// (Invoke) Token: 0x06002BD6 RID: 11222
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _ReleaseMirrorTextureD3D11(IntPtr pD3D11ShaderResourceView);

		// Token: 0x020006FC RID: 1788
		// (Invoke) Token: 0x06002BDA RID: 11226
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRCompositorError _GetMirrorTextureGL(EVREye eEye, ref uint pglTextureId, IntPtr pglSharedTextureHandle);

		// Token: 0x020006FD RID: 1789
		// (Invoke) Token: 0x06002BDE RID: 11230
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _ReleaseSharedGLTexture(uint glTextureId, IntPtr glSharedTextureHandle);

		// Token: 0x020006FE RID: 1790
		// (Invoke) Token: 0x06002BE2 RID: 11234
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _LockGLSharedTextureForAccess(IntPtr glSharedTextureHandle);

		// Token: 0x020006FF RID: 1791
		// (Invoke) Token: 0x06002BE6 RID: 11238
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _UnlockGLSharedTextureForAccess(IntPtr glSharedTextureHandle);

		// Token: 0x02000700 RID: 1792
		// (Invoke) Token: 0x06002BEA RID: 11242
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetVulkanInstanceExtensionsRequired(StringBuilder pchValue, uint unBufferSize);

		// Token: 0x02000701 RID: 1793
		// (Invoke) Token: 0x06002BEE RID: 11246
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetVulkanDeviceExtensionsRequired(IntPtr pPhysicalDevice, StringBuilder pchValue, uint unBufferSize);
	}
}
